Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding float16 and bfloat16 support #664

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

tedxu
Copy link
Contributor

@tedxu tedxu commented Feb 2, 2024

@sre-ci-robot
Copy link

Welcome @tedxu! It looks like this is your first PR to milvus-io/milvus-sdk-go 🎉

@sre-ci-robot sre-ci-robot added the size/XL Denotes a PR that changes 500-999 lines. label Feb 2, 2024
@sre-ci-robot sre-ci-robot added size/XXL Denotes a PR that changes 1000+ lines. and removed size/XL Denotes a PR that changes 500-999 lines. labels Feb 5, 2024
Signed-off-by: Ted Xu <ted.xu@zilliz.com>
@sre-ci-robot sre-ci-robot added size/XL Denotes a PR that changes 500-999 lines. and removed size/XXL Denotes a PR that changes 1000+ lines. labels Feb 5, 2024
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

Attention: 40 lines in your changes are missing coverage. Please review.

Comparison is base (1e03ea4) 73.41% compared to head (fa4eb6d) 71.94%.
Report is 1 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #664      +/-   ##
==========================================
- Coverage   73.41%   71.94%   -1.47%     
==========================================
  Files          47       49       +2     
  Lines        4352     4566     +214     
==========================================
+ Hits         3195     3285      +90     
- Misses       1043     1167     +124     
  Partials      114      114              
Files Coverage Δ
client/collection.go 88.82% <100.00%> (+0.06%) ⬆️
entity/columns_scalar_gen.go 87.50% <100.00%> (ø)
entity/schema.go 91.79% <100.00%> (+0.53%) ⬆️
entity/columns_vector_gen.go 89.47% <90.47%> (-0.19%) ⬇️
entity/columns.go 48.73% <41.37%> (-1.66%) ⬇️

... and 4 files with indirect coverage changes

@mergify mergify bot added the ci-passed auto merge needed label label Feb 6, 2024
Comment on lines +221 to +224
if field.DataType == entity.FieldTypeFloatVector ||
field.DataType == entity.FieldTypeBinaryVector ||
field.DataType == entity.FieldTypeBFloat16Vector ||
field.DataType == entity.FieldTypeFloat16Vector {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: maybe change to utility function later

Copy link
Contributor

@congqixia congqixia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@sre-ci-robot sre-ci-robot added the lgtm look good to me label Feb 18, 2024
@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: congqixia, tedxu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot added the approved review approved label Feb 18, 2024
@sre-ci-robot sre-ci-robot merged commit 903137b into milvus-io:master Feb 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved review approved ci-passed auto merge needed label lgtm look good to me size/XL Denotes a PR that changes 500-999 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants